package com.arlen.until.tool;

public class Equals  {
    public  boolean equals(Object... obj) { //新加的此类独有方法
        boolean flag = false;
        for (Object object : obj) {
            if (object == this) {
                flag = true;
                break;
            }
        }
        return flag;
    }
    public static boolean equals(String s,String ...ars){
        boolean flag =  false;
        for (String ar : ars) {
            if (ar.equals(s)){
                flag = true;
                break;
            }

        }
        return flag;

    }


}
